<template>
  <div class="form-group">
    <el-form-item label="是否开启翻页" label-width="118px">
      <el-switch v-model="pageTurn.turnable"></el-switch>
      <el-tooltip effect="dark" placement="top">
        <div slot="content" class="fs-xs">未启用时，当前页面将不能通过滑动进行翻页</div>
        <i class="icon icon-question ml-8 pointer"></i
      ></el-tooltip>
    </el-form-item>
  </div>
</template>

<script>
  export default {
    model: { prop: 'pageTurn' },
    props: { pageTurn: { type: Object, default: () => ({}) } }
  };
</script>

<style lang="scss" scoped></style>
